// argsv/exception.hh
// Written by, Sohail Qayum Malik[sqm@cyberian.pk]

#include <string>
#include <exception>

//using namespace::std;

#ifndef	ARGS_EXCEPTION
#define	ARGS_EXCEPTION

class args_exception : public std::exception {

   std::string msg;

   public:

      const char* what() throw () {

	 return msg.c_str();
      }	

      args_exception(std::string msg) : msg(msg) {	      
      }	      

      ~args_exception() throw() {
      }	      
};
#endif
